<?php slot('title', __('Personal weblog and thoughts')) ?>
<?php slot('main_title', __('Latest blog posts')) ?>
<?php use_helper('Date', 'Number') ?>

<?php include_partial('list', array('pager' => $pager)) ?>
<?php include_partial('global/pager', array('pager' => $pager, 'route' => 'blog', 'params' => array())) ?>

<div class="pagination_desc">
  <?php echo format_number_choice(
    '[0]No post|[1]1 post|(1,+Inf]%1% posts', 
    array('%1%' => $pager->getNbResults()), $pager->getNbResults()) ?>
  <?php if ($pager->haveToPaginate()): ?>
    - <?php echo __('page %current% on %last%', array(
      '%current%' => $pager->getPage(),
      '%last%' => $pager->getLastPage()
    )) ?>
  <?php endif; ?>
</div>